package Text;


     import javafx.application.Application;
     import javafx.scene.Scene;
     import javafx.scene.control.Label;
     import javafx.stage.Stage;
public class JavaFXVersionCheck extends Application {
    @Override
    public void start(Stage primaryStage) {
        Label label = new Label("JavaFX Version Check");
        Scene scene = new Scene(label, 200, 100);
        primaryStage.setScene(scene);
        primaryStage.show();
        // 通过类的包信息间接检查JavaFX版本
        System.out.println("JavaFX Controls Class Package: " + Label.class.getPackage().getName());
    }
    public static void main(String[] args) {
        launch(args);
    }
}